package com.msb.order.feignClient;

import com.msb.order.config.FULLFeignConfiguration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @program: microservices
 * @ClassName UserFeignClient
 * @description:
 * @author: slfang
 * @create: 2023-12-22 15:54
 * @Version 1.0
 **/
@FeignClient(name="msb-user",configuration = FULLFeignConfiguration.class)
public interface UserFeignClient {


    @GetMapping("/user/{userId}")
    String getUserName(@PathVariable Integer userId);

}
